package com.cnfangmao.masterdata.model;

import java.io.Serializable;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

/**
 * <p>
 * 主数据间依赖关系表
 * </p>
 *
 * @author chenxd
 * @since 2020-04-14
 */
@TableName("t_basic_data_dependation")
public class BasicDataDependation implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 依赖关系Id
     */
    @TableId("dependation_id")
    private String dependationId;
    /**
     * 源主数据元数据Id
     */
    @TableField("source_metadata_id")
    private String sourceMetadataId;
    /**
     * 源主数据字段Id
     */
    @TableField("source_field_id")
    private String sourceFieldId;
    /**
     * 目标主数据Id
     */
    @TableField("target_metadata_id")
    private String targetMetadataId;
    /**
     * 目标主数据字段Id
     */
    @TableField("target_field_id")
    private String targetFieldId;
    /**
     * 创建时间
     */
    @TableField("created_on")
    private Date createdOn;
    /**
     * 创建人
     */
    @TableField("created_by")
    private String createdBy;
    /**
     * 修改时间
     */
    @TableField("modified_on")
    private Date modifiedOn;
    /**
     * 修改人
     */
    @TableField("modified_by")
    private String modifiedBy;


    public String getDependationId() {
        return dependationId;
    }

    public void setDependationId(String dependationId) {
        this.dependationId = dependationId;
    }

    public String getSourceMetadataId() {
        return sourceMetadataId;
    }

    public void setSourceMetadataId(String sourceMetadataId) {
        this.sourceMetadataId = sourceMetadataId;
    }

    public String getSourceFieldId() {
        return sourceFieldId;
    }

    public void setSourceFieldId(String sourceFieldId) {
        this.sourceFieldId = sourceFieldId;
    }

    public String getTargetMetadataId() {
        return targetMetadataId;
    }

    public void setTargetMetadataId(String targetMetadataId) {
        this.targetMetadataId = targetMetadataId;
    }

    public String getTargetFieldId() {
        return targetFieldId;
    }

    public void setTargetFieldId(String targetFieldId) {
        this.targetFieldId = targetFieldId;
    }

    public Date getCreatedOn() {
        return createdOn;
    }

    public void setCreatedOn(Date createdOn) {
        this.createdOn = createdOn;
    }

    public String getCreatedBy() {
        return createdBy;
    }

    public void setCreatedBy(String createdBy) {
        this.createdBy = createdBy;
    }

    public Date getModifiedOn() {
        return modifiedOn;
    }

    public void setModifiedOn(Date modifiedOn) {
        this.modifiedOn = modifiedOn;
    }

    public String getModifiedBy() {
        return modifiedBy;
    }

    public void setModifiedBy(String modifiedBy) {
        this.modifiedBy = modifiedBy;
    }

    @Override
    public String toString() {
        return "BasicDataDependation{" +
        "dependationId=" + dependationId +
        ", sourceMetadataId=" + sourceMetadataId +
        ", sourceFieldId=" + sourceFieldId +
        ", targetMetadataId=" + targetMetadataId +
        ", targetFieldId=" + targetFieldId +
        ", createdOn=" + createdOn +
        ", createdBy=" + createdBy +
        ", modifiedOn=" + modifiedOn +
        ", modifiedBy=" + modifiedBy +
        "}";
    }
}
